<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/8/9
 * Time: 17:19
 */

namespace app\api\validate;

use think\Validate;

class TestValidate extends Validate
{

        protected $rule = [
            'name' => "require|max:2",
            'email' => "email|max:20",
        ];

}
